package Practice18;

public class MyRunnable implements Runnable {
    @Override
    public void run() {
        System.out.println("我需要一个教练");
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.fillInStackTrace();
        }
        System.out.println("教练来了：" + Thread.currentThread().getName());
        System.out.println("叫我游泳，教完后， 教练回到来游泳池");
    }
}
